//  Author:
//       Daniel Großer <olav.daniel.grosser@googlemail.com>
//  
//  Copyright (c) 2012 Copyright (C) 2012 by Daniel Großer. This Code is under GNU LGPL 3.0
// 
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU Lesser General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
// 
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Lesser General Public License for more details.
// 
//  You should have received a copy of the GNU Lesser General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.

using System;
using System.Collections.Generic;
using System.Linq;

namespace Beauty
{
    /// <summary>
    /// This property is used to mark productions of your grammar. Examples of
    /// productions are:
    /// <example>
    /// <para>A => B</para>
    /// <para>A => B C? D*</para>
    /// <para>...</para>
    /// <para>
    /// The following code illustrates an example for blocks that can contain inner blocks:
    /// </para>
    /// <code>
    /// [Keyword("Begin")]
    /// public object Begin { get; set; }
    /// 
    /// [Production]
    /// public List&lt;Block&gt; { get; set; }
    /// 
    /// [Keyword("End")]
    /// public object End { get; set; }
    /// </code>
    /// </example>
    /// That is, a production can be resolved using the grammar by replacing the
    /// left side with the right side.
    /// </summary>
    public sealed class ProductionAttribute : GrammarEntityAttribute
    {
    }
}
